package com.example.backend.dto.request;

import com.example.backend.entitly.mysql.order.OrderItems;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class OrderDto {
    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 用户ID
     */
    private Integer userId;


    /**
     * 支付金额
     */
    private BigDecimal paymentAmount;

    /**
     * 运费
     */
    private BigDecimal shippingFee;

    /**
     * 优惠金额
     */
    private BigDecimal discountAmount;

    /**
     * 优惠券金额
     */
    private BigDecimal couponAmount;

    /**
     * 收货人姓名
     */
    private String receiverName;

    /**
     * 收货人电话
     */
    private String receiverPhone;

    /**
     * 收货人地址
     */
    private String receiverAddress;

    /**
     * 订单备注
     */
    private String note;

    /**
     * 商品项列表
     */
    private List<OrderItems> orderItemList;


}
